#ifndef STOP_H
#define STOP_H
#define TIMEOUT    1 * 1000
#include <QMainWindow>
#include <QMovie>

namespace Ui {
class Stop;
}

class Stop : public QMainWindow
{
    Q_OBJECT

public:
    explicit Stop(QWidget *parent = nullptr);
    virtual void timerEvent(QTimerEvent *event);
    ~Stop();
    void initForm();
    void setorigin(int l);
    Ui::Stop *ui;
    double m_time;
    QTimer *m_timer;
    double cm_time;
    int origin;
private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();
    void timeEnd();
    void on_pushButton_3_clicked();
    void rest();


};

#endif // STOP_H
